home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 4 / USEnet 4.47 < prev    next >
Encoding:
Text File  |  1988-06-15  |  26.0 KB  |  648 lines  |  [TEXT/ttxt]

  1.  9-Apr-88 13:00:51-PDT,27197;000000000010
  2. Return-Path: <usenet-mac-request@RELAY.CS.NET>
  3. Received: from RELAY.CS.NET by SUMEX-AIM.Stanford.EDU with TCP; Sat, 9 Apr 88 13:00:17 PDT
  4. Received: from relay2.cs.net by RELAY.CS.NET id aa04475; 9 Apr 88 15:32 EDT
  5. Received: from relay.cs.net by RELAY.CS.NET id aa08238; 9 Apr 88 15:29 EDT
  6. Received: from sdr.slb.com by RELAY.CS.NET id aa08224; 9 Apr 88 15:25 EDT
  7. Date: Sat, 9 Apr 88 14:32 EDT
  8. From: Jeffrey Shulman <SHULMAN@sdr.slb.com>
  9. Subject: Usenet Mac Digest V4 #47
  10. To: usenet-mac@RELAY.CS.NET, PIERCE%HDS@sdr.slb.com
  11. X-VMS-To: in%"usenet-mac@relay.cs.net",in%"PIERCE%HDS@SDR.SLB.COM"
  12.  
  13. Date: Sat 9 Apr 88 14:31:45-GMT
  14. From: Jeff Shulman <SHULMAN@SDR>
  15. Subject: Usenet Mac Digest V4 #47
  16. To: Usenet-List: ;
  17. Message-ID: <576599506.0.SHULMAN@SDR>
  18. Mail-System-Version: <VAX-MM(218)+TOPSLIB(129)@SDR>
  19.  
  20. Usenet Mac Digest     Saturday, April 9, 1988        Volume 4 : Issue 47 
  21.  
  22. Today's Topics:
  23.      EtherTalk Card Programming Question
  24.      Patching "Please insert the disk..." (2 messages)
  25.      A/UX performance
  26.      Re: Photo of Mac II Monitor
  27.      TEXT - APPLE-MICROSOFT Agreement
  28.      Re: Can anyone tell me his/her experience with CMS hard disks?
  29.      Call for feedback: Multifinder compatible games
  30.      Re: Can anyone tell me his/her experience with CMS hard disks?
  31.      Error Handling and Recovery
  32.      Using digitized sounds...
  33.      LSC and CODE resources
  34.      Am I missing something obvious - how do you copy in/out from HFS disks?
  35.      Re: how to get file size (in bytes) ???
  36.      Re: MIDI
  37.  
  38. ---------------------------------------------------------------------- 
  39.  
  40. From: acc@psueclb.BITNET
  41. Subject: EtherTalk Card Programming Question
  42. Date: 31 Mar 88 04:21:59 GMT
  43. Organization: Engineering Computer Lab, Pennsylvania State University
  44.  
  45. I have a question regarding the control calls to the Ethernet Driver as
  46. described in Chapter 6 of the EtherTalk Preliminary Note (dated 15 Oct
  47. 87, just got from APDA.)
  48.  
  49. Under the "Making Commands..." section, a series of control calls are
  50. described.  How does one determine the csCode required for each of the
  51. command calls?  I am trying to do the "EWrite" and "EAttachPH" commands,
  52. for example.
  53.  
  54. We've randomly tried different numbers for the heck of it, but we had no
  55. luck......
  56. -- 
  57. Tony Canike
  58. ACC@PSUECL.Bitnet
  59.  
  60.  
  61. ------------------------------
  62.  
  63. From: samalone@athena.mit.edu (Stuart A. Malone)
  64. Subject: Patching "Please insert the disk..."
  65. Date: 1 Apr 88 14:18:05 GMT
  66. Organization: Massachusetts Institute of Technology
  67.  
  68.  
  69. I'm trying to write an INIT that makes the Mac eject the disk in the
  70. least recently used drive when it needs an offline volume.  I know how
  71. to patch into the Sony driver, so I can record when each drive was last
  72. used, but how do I patch the file manager to call my clever routine when
  73. it needs an offline volume?  I'm sure that somewhere there is a file
  74. manager routine that says "make sure this volume is online", but it
  75. doesn't seem to correspond to any of the documented traps.  (I just pray
  76. that the calls to the routine aren't in ROM, or I'm sunk...)
  77.  
  78.                 --Stuart A. Malone
  79.  
  80.  
  81. ------------------------------
  82.  
  83. From: ephraim@think.COM (ephraim vishniac)
  84. Subject: Re: Patching "Please insert the disk..."
  85. Date: 1 Apr 88 19:05:40 GMT
  86. Organization: Thinking Machines Corporation, Cambridge, MA
  87.  
  88. samalone@athena.mit.edu (Stuart A. Malone) writes:
  89. >I'm trying to write an INIT that makes the Mac eject the disk in the least
  90. >recently used drive when it needs an offline volume.  I know how to patch into
  91. >the Sony driver, so I can record when each drive was last used, but how do I
  92. >patch the file manager to call my clever routine when it needs an offline
  93. >volume?  I'm sure that somewhere there is a file manager routine that says
  94. >"make sure this volume is online", but it doesn't seem to correspond to any of
  95. >the documented traps.  (I just pray that the calls to the routine aren't in
  96. >ROM, or I'm sunk...)
  97.  
  98. Check your list of low-memory (spelled *unsupported*) globals for one
  99. called something like dskSwitchHook or words to that effect.  (Sorry, I
  100. haven't got the list handy.)  It's the address of the routine which
  101. throws up the disk-swap dialog.  Unfortunately, it's completely
  102. undocumented and unsupported.  I doped out most of it while working on a
  103. removable-media drive.  It didn't do what I needed, which was to gain
  104. periodic control during the dialog, so I dumped my notes on the subject.
  105.  
  106. Come to think of it, I'm not sure if it received control before or after
  107. the disk ejection was done.  It's possible that it's not called until a
  108. drive has been freed up, and it just waits around for a disk to be
  109. inserted.  Bring on MacNosy...
  110. -- 
  111. Ephraim Vishniac                      ephraim@think.com
  112. Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214
  113.  
  114.      On two occasions I have been asked, "Pray, Mr. Babbage, if you put
  115.      into the machine wrong figures, will the right answers come out?"
  116.  
  117.  
  118. ------------------------------
  119.  
  120. From: nfong@cory.Berkeley.EDU (Norman Fong)
  121. Subject: A/UX performance
  122. Date: 1 Apr 88 05:41:13 GMT
  123. Organization: University of California, Berkeley
  124.  
  125. Can someone comment on A/UX's performance?  Is it comparable to say a
  126. Sun 3/50's performance?  Does Apple's current implementation utilize
  127. most of a disk's bandwidth or will future scsi drivers improve
  128. performance? Also does A/UX have 4.3BSD enhancements to the file system?
  129. (cylinder grps etc)
  130.  
  131. nfong@cory.Berkeley.EDU.UUCP
  132.  
  133.  
  134. ------------------------------
  135.  
  136. From: dave@onfcanim.UUCP (Dave Martindale)
  137. Subject: Re: Photo of Mac II Monitor
  138. Date: 3 Apr 88 18:57:12 GMT
  139. Organization: National Film Board / Office national du film, Montreal
  140.  
  141. Some additions/corrections to the posted info:
  142.  
  143. >3)    Most electronic metering systems will not properly meter a
  144. >    flickering source (like a CRT).  Older "electromechanical" meters
  145. >    will.  (Luna-Pro, cheap handheld meters, most needle-type meters
  146. >    in general.)  You can't use your camera's meter to
  147. >    read the exposure, unless it's of the electromechanical type.
  148.  
  149. The Minolta Spotmeter M (and probably the newer Spotmeter F) do a fine
  150. job of measuring flickering light sources such as a CRT.  The Pentax
  151. Digital Spotmeter definitely does not work.
  152.  
  153.  
  154. >4)    When you meter the screen, turn off the lights and place the meter
  155. >    directly on the display, pointing it at a NEUTRAL, relatively dim
  156. >    area.  If you're photographing a display of lines, you'll have to
  157. >    meter something else to get your exposure.  Meters are calibrated for
  158. >    a reference subject of 18% reflectance.  Ideally, you'd want to
  159. >    meter something that was 18% as luminous as your display's "white,"
  160. >    but there's usually no practical way to do this.  So you'll have
  161. >    to guess, and...
  162.  
  163. Well, you can display a grey patch of 18% of full brightness and meter
  164. that, but unless you've done very careful "gamma correction" of your
  165. monitor, this won't be accurate.  Instead, display a white patch in the
  166. centre of the screen (since intensity falls off at the edges) and
  167. measure it with the spotmeter, or a standard meter up close.  Then give
  168. 2.5 stops more exposure than the meter indicates.
  169.  
  170. Since the log to the base 2 of 0.18 is -2.47, this is equivalent to
  171. measuring an 18% grey patch but doesn't depend on gamma correction.
  172. Another way of thinking about it is that 2.5 stops is the appropriate
  173. exposure increase to place the measured area of the picture (full white)
  174. at the upper end of the linear response curve of a transparency film.
  175. Negative films can generally take even more exposure.
  176.  
  177. So, for example, if the light meter read f/11 for the white patch, you
  178. would set the lens diaphragm halfway between f/4 and f/5.6.
  179.  
  180.  
  181. >5)    BRACKET YOUR EXPOSURES.  A minimum of three exposures per display
  182. >    is advisable.
  183.  
  184. The first time I tried the above technique of using a white patch for
  185. reference, I bracketed the exposure widely with tests spaced every 1/2
  186. or 1/3 stop.  The exposure calculated by the meter turned out to be the
  187. best.  Since then, I never bracket, I just trust the meter, and all
  188. exposures have been fine.
  189.  
  190.  
  191. >6)    If your slides have a pronounced color bias you'll need to try
  192. >    filtration.  Use CC ("color correction") filters, and experiment until
  193. >    you succeed.  This is a complicated procedure for the amateur
  194. >    photographer, but basically you'll need gelatin filters and
  195. >    a gelatin filter holder, both of which can be ordered from a good
  196. >    photo supply store.
  197.  
  198. If you don't have a gelatine filter holder, you can always use adhesive
  199. tape on the corners of the filter...
  200.  
  201.  
  202. >7)    A mild telephoto lens (about "portrait length"-- 85-110 mm) is best
  203. >    unless you're photographing a particularly large screen.
  204.  
  205. I second this.  I use 135mm.
  206.  
  207. >8)    A GOOD TRIPOD is essential.  A remote shutter release is almost
  208. >    as essential, unless you have either a self-timer or have a very
  209. >    light touch on your shutter button.
  210.  
  211. Yes, and also make sure that the camera's lens is as close as possible
  212. to the centerline of the CRT face, both vertically and horizontally, to
  213. avoid distortion.  Focus very carefully.
  214.  
  215. One final point: I always use a shutter speed of 1 second.  Long
  216. exposure minimizes any effects of the shutter not being synchronized
  217. with the CRT refresh, and 1 second is the longest exposure my camera
  218. will time for me.
  219.  
  220.  
  221. ------------------------------
  222.  
  223. From: greg@ntvax.UUCP
  224. Subject: TEXT - APPLE-MICROSOFT Agreement
  225. Date: 2 Apr 88 03:56:00 GMT
  226.  
  227.  
  228. A friend just mailed me this and I thought the net might be interested
  229. in seeing it.
  230.  
  231. ======================================================================
  232.  
  233. TEXT OF APPLE-MICROSOFT AGREEMENT
  234.  
  235.   AGREEMENT
  236.  
  237.   This Agreement is entered into on this 22nd day of November, 1985, by
  238. and between Apple Computer, Inc., a California corporation having its
  239. place of business at 20525 Mariani Avenue, Cupertino, California 95014
  240. (hereinafter "Apple") and Microsoft Corporation, having its place of
  241. business at 10700 Northrup Way, Bellevue, Washington 98008 (hereinafter
  242. "Microsoft.")
  243.   The parties have a long history of cooperation and trust and wish to
  244. maintain that mutually beneficial relationship. However, a dispute has
  245. arisen concerning the ownership of and possible copyright infringement
  246. as to certain visual displays generated by several Microsoft software
  247. products. These products are Microsoft's operating environment program,
  248. "Microsoft Windows Version 1.0," the three Microsoft applications
  249. programs developed under the January 22, 1982, agreement between
  250. Microsoft and Apple for use on Apple's MacIntosh Computers: an
  251. electronic spread sheet program ("Microsoft Mutliplan"), a business
  252. graphics program ("Microsoft Chart") and a database program (Microsoft
  253. File"), and two other Microsoft application programs: an integrated
  254. electronic spread sheet program ("Microsoft Excel") and a word
  255. processing program ("Microsoft Word"). By means of this Agreement the
  256. parties intend to resolve the dispute and each acknowledges that the
  257. valuable consideration underlying this Agreement consists of the
  258. resolution of the dispute and the several undertakings and
  259. accommodations of the respective parties described below. Accordingly,
  260. the parties agree as follows:
  261.   1. Acknowledgement. For purposes of resolving this dispute and in
  262. consideration of the license grant from Apple described in section 2
  263. below, Microsoft acknowledges that the visual displays in the
  264. above-listed Microsoft programs are derivative works of the visual
  265. displays generated by Apple's Lisa and Macintosh graphic user interface
  266. programs.
  267.   2. Visual Copyright License from Apple.
  268.   A. Grant. Apple hereby grants to Microsoft a non-exclusive, worldwide,
  269. royalty-free, perpetual, non-transferable license to use these
  270. derivative works in present and future software programs and to license
  271. them to and through third parties for use in their software programs.
  272.   This license shall not include new software programs written by
  273. Microsoft which are similar in function to Microsoft Excel and are
  274. offered for to the public prior to October 1, 1986.
  275.   As a condition to this license, Microsoft shall cause its visual
  276. copyright notice to appear in its products which use visual displays
  277. licensed hereunder.
  278.   B. Warranty. Apple hereby warrants that neither Apple nor any of its
  279. agents, representatives or attorneys knows of any patent, copyright,
  280. trade secret or any other right or claim of or by any third party to
  281. these licensed visual copyrights in the Lisa and Macintosh graphic user
  282. interface programs. Each party shall notify the other promptly of any
  283. such claim and will cooperate fully in the defense of such a claim.
  284. Apple shall indemnify and hold Microsoft harmless from any such claim of
  285. which it had such knowledge and any damages and reasonable expenses
  286. arising therefrom.
  287.   3. Patent License from Apple.
  288.   A. Grant. Apple hereby grants to Microsoft a nonexclusive, worldwide,
  289. royalty-free, nontransferable license to make, use and sell the
  290. inventions described and claimed in claims 9, 11, 12, and 13 of the
  291. United States Patent No. 4,464,652 for the life of the patent. Microsoft
  292. in turn may license these rights to and through third parties for use in
  293. their software programs and hardware products. Microsoft is not required
  294. to cause any patent marking to appear in its products which use any such
  295. inventions.
  296.   B. Warranty. Apple hereby warrants that it owns the patent and to the
  297. best of its knowledge there are no claims asserted by any third party to
  298. the inventions described in these claims.
  299.   4. Release. Apple hereby waives any other copyright, patent, trade
  300. secret or other claim or right it may have as to Microsoft Windows
  301. Version 1.0.
  302.   5. Visual Copyright License from Microsoft. Microsoft hereby grants to
  303. Apple a nonexclusive, worldwide, royalty-free, perpetual,
  304. nontransferable license to use any new visual displays created by
  305. Microsoft during a period of five years from the date of this agreement
  306. as part of its Microsoft Windows retail software product in software
  307. programs and to license them to and through third parties for use in
  308. their software programs. As a condition to this license, Apple shall
  309. cause its visual copyright notice to appear in its products which use
  310. such Microsoft visual displays.
  311.   6. Reision of Microsoft Word. Microsoft shall revise Microsoft Word
  312. which operates on the Apple Macintosh computer by enhancing and
  313. improving the program as specified in Exhibit A to this Agreement.
  314. Microsoft shall use its best efforts to complete the revision by July
  315. 31, 1986.
  316.   7. General Provisions.
  317.   A. Confidentiality. The parties shall keep the terms and conditions of
  318. this Agreement in strict confidence, except that each party may state
  319. that it has entered into an agreement with the other concerning visual
  320. copyrights.
  321.   B. Representations. The parties represent that each is free to enter
  322. into this Agreement and is not and will not become a party to any
  323. agreement inconsistent or in conflic with any of the terms or conditions
  324. of this agreement.
  325.   C. Breach and Termination.
  326.   If a breach of this Agreement by either party contines more than 30
  327. days from the date of written notice of such breach by the non-breaching
  328. party, that party may terminate the Agreement by giving written notice
  329. to the other.
  330.   Waiver by a non-breaching party of any breach by the other shall not
  331. be deemed to be a waiver of any other or subsequent breach. The rights
  332. of the parties under this clause are in addition to any other rights or
  333. remedies provided by law or under this Agreement.
  334.   D. Notices. Any notice reuired under this Agreement shall be given by
  335. first class mail, postage prepaid, with return receipt requested.
  336.   E. Assignment. Except in the case of the sale of substantially all of
  337. the assets or controlling stock, this Agreement may not be assigned, nor
  338. the rights granted hereunder (other than the sublicensing rights
  339. containd in paragraph 2) transferred by either party without the prior
  340. written consent of the other party.
  341.   F. Independent Contractor. This Agreement shall not be construed as
  342. creating an agency, partnership or joint venture between the parties.
  343.   G. Entire Agreement.
  344.   This Agreement constitutes the entire agreement between the parties
  345. with respect to the subject matter treated herein. This Agreement shall
  346. not be amended except by a written agreement signed by both parties.
  347.   H. Binding Effect.
  348.   Subject to the limitations expressed above, this Agreement will inure
  349. to the benefit of and be binding upon the parties and their successors
  350. in interest.
  351.   Signed:
  352.   John Sculley, Apple Computer Inc., president and chief executive
  353. officer.
  354.   William H. Gates, Microsoft Corporation, chairman of the board and
  355. chief executive officer.
  356.  
  357.  
  358. ------------------------------
  359.  
  360. From: spector@vx2.GBA.NYU.EDU (David HM Spector)
  361. Subject: Re: Can anyone tell me his/her experience with CMS hard disks?
  362. Date: 4 Apr 88 20:32:00 GMT
  363. Organization: New York University
  364.  
  365. I have a CMS-80, its been running non-stop (24Hrs a day) since December
  366. 22,1987 and have had no problems.   Its a nice drive.  With drive prices
  367. falling through the floor tho' it might be better (and cheaper!) to get
  368. the CMS-300i (300Mb)...  after all if you're gonna get a BIG drive, why
  369. not  go all the way..?  :-)
  370. -- 
  371. -------------------------------------------------------------------------------
  372. David HM Spector                New York University
  373. Senior Systems Programmer            Graduate School of Business
  374. Arpa: SPECTOR@GBA.NYU.EDU            Academic Computing Center
  375. UUCP:...!{allegra,rocky,harvard}!cmcl2!spector    90 Trinity Place, Rm C-4
  376. MCIMail: DSpector                New York, New York 10006
  377. AppleLink: D1161     CompuServe: 71260,1410     (212) 285-6080
  378. "SJM 25, 'real nice guy' seeks SJF...  What? This ISN'T The Voice personals?!"
  379.  
  380.  
  381. ------------------------------
  382.  
  383. From: chuq@plaid.Sun.COM (Chuq Von Rospach)
  384. Subject: Call for feedback: Multifinder compatible games
  385. Date: 5 Apr 88 03:18:05 GMT
  386.  
  387. Okay, it's time for a quick survey. In writing my latest article for
  388. Macintosh Horizon's, I rued the fact that there seem to be no decent
  389. games that are MultiFinder compatible. They either require me to reboot
  390. to singlefinder (i.e. CrystalQuest, Dark Castle), are Copy Perverted
  391. (Shanghai) so they don't go on my hard disk, or otherwise do nasty
  392. things to my machine (Shanghai again, which lets me run it under MF, but
  393. which REBOOTS MY SYSTEM when it quits).
  394.  
  395. So I want to reach into the group mind and see what's out there. I am
  396. looking for games that:
  397.  
  398.     o Aren't Copy Perverted, or run with a key disk so they can be
  399.       loaded onto a hard disk
  400.  
  401.     o Run under MultiFinder
  402.  
  403.     o Don't reboot the system when they quit
  404.  
  405.     o Are worth the disk space and time to play.
  406.  
  407. Shareware/Freeware or commercial are fine. Please send your comments
  408. directly to me, I'll summarize. I can only think of two offhand. Risk,
  409. the not-a-shareware game, and Hack, PD and written in LightSpeed C.
  410.  
  411. Wanting to play Crystal Quest is no fun when you have 60 pages queued up
  412. in the background printer.....
  413.  
  414. chuq
  415.  
  416. Chuq Von Rospach            chuq@sun.COM        Delphi: CHUQ
  417.  
  418.     Even with my limited Chuq I got into a few conversations, and one
  419. man wanted
  420.     to argue politics with me. -- Lisa Goldstein (After the Master,
  421. Asim, 5/88)
  422.  
  423.  
  424. ------------------------------
  425.  
  426. From: dumesny@batcomputer.tn.cornell.edu (Alain Dumesny)
  427. Subject: Re: Can anyone tell me his/her experience with CMS hard disks?
  428. Date: 5 Apr 88 04:42:12 GMT
  429. Organization: Cornell Theory Center, Cornell University, Ithaca NY
  430.  
  431. I recently got my CMS Pro60 II (a segate drive) from Macland (very good
  432. prices, 1-800-333-3353) and LOVE it (especially for $700 :-)
  433.  
  434. I would strongly recomend people to get CMS drives because they are very
  435. cheap (depending where you buy them from) and come with a very good
  436. formater/initializer that is pretty complete.  It include : format -
  437. initialize - ID search - install new driver - tests (drive blocks, and
  438. also an overnight test (long)) and also a lot of very nice goodies, such
  439. as a graphical map of the drive, and some advance features such as fast
  440. HD  copy, reassign block...
  441.  
  442. Also, CMS include a few additonal software on the disk, such as :
  443.     - Apple SCSI installer (useless since CMS's one is MUCH better)
  444.     - HD backup (though I would recomend getting DiskFit from SuperMac)
  445.     - zaPRAM (to zap your PRAMs when you mac II get confused after bomb)
  446.     - initPRAM (to avoid the above, very nice)
  447.     - some other stuff...
  448.  
  449. CMS formatter is very nice (has lots of nice features), and I would
  450. recommend getting DiskFit (SuperMac) and DiskExpress (do de-fragmentize
  451. the drive).
  452.  
  453. The CMS pro80 II uses a quantum drive (exactly the same drive Apple uses
  454. for the 40 and 80 meg drive) which is quite fast, and you can get it
  455. from CMS for a lot less, so why bother ?
  456. -- 
  457. Hope this helped,
  458. Alain Dumesny
  459. Cornell University.
  460.  
  461.  
  462. ------------------------------
  463.  
  464. From: rs4u+@andrew.cmu.edu (Richard Siegel)
  465. Subject: Error Handling and Recovery
  466. Date: 3 Apr 88 21:06:36 GMT
  467. Organization: Carnegie Mellon University
  468.  
  469.  
  470. Has anyone come up with a bulletproof error recovery scheme, to recover
  471. from things like disk and memory errors?
  472.  
  473. How does Mac App do it?
  474.  
  475. Rich
  476.  
  477.  
  478. ------------------------------
  479.  
  480. From: es1o+@andrew.cmu.edu (Eric Mitchell Snider)
  481. Subject: Using digitized sounds...
  482. Date: 4 Apr 88 21:22:38 GMT
  483. Organization: Carnegie Mellon University
  484.  
  485.  
  486. I've been working on a game and would really like to use some digitized
  487. sounds.  I have a lot in many different formats but I have no idea what
  488. routines to call or what preparations must be made.  Can someone please
  489. give me a detailed description of what to do?
  490.  
  491.  
  492.                                  Eric
  493.  
  494.  
  495. ------------------------------
  496.  
  497. From: rick@ut-emx.UUCP (Rick Watson)
  498. Subject: LSC and CODE resources
  499. Date: 4 Apr 88 22:12:42 GMT
  500. Organization: The University of Texas at Austin, Austin, Texas
  501.  
  502. 1. I'm using LightSpeed C to produce a CODE resource.  I don't want the 
  503. glue that the linker sticks on the front of the resource.  Is there any
  504. way to prevent the glue from getting stuck on in the first place? I'd
  505. rather not have to write a routine to strip it back off.  Or, is there
  506. anyway to get the linker to use my glue instead of theirs?
  507.  
  508. 2. Failing the above, is the source to their glue anywhere?
  509.  
  510. 3. Actually, what I'm doing is converting a SCSI disk driver written in
  511. Megamax C to LSC.  I need the structure of the code to be something
  512. like:
  513.  
  514.     JMP INSTALLER
  515.     DRIVER HEADER (0X4F00, ETC)
  516.     DRIVER CODE
  517.     INSTALLER CODE
  518.  
  519. without any LSC glue at the front.
  520.  
  521. Any ideas?
  522. -- 
  523. Many thanks,
  524. Rick Watson
  525. University of Texas Computation Center
  526.  arpa:   ccaw001@utadnx.cc.utexas.edu
  527.  uucp:   ...seismo!ut-sally!ut-emx!rick
  528.  bitnet: ccaw001@utadnx     span:  utspan::watson
  529.  phone:  512/471-3241
  530.  
  531.  
  532. ------------------------------
  533.  
  534. From: bruce@voysys.UUCP (Bruce Beare)
  535. Subject: Am I missing something obvious - how do you copy in/out from HFS disks?
  536. Date: 5 Apr 88 00:47:51 GMT
  537. Organization: Voysys Corporation, Sunnyvale, CA
  538.  
  539. As the title suggests, I must be missing something entirely obvious. How
  540. does one copy files between Mac-OS (HFS) and A/UX Partitions?
  541.  
  542. x--x
  543.  
  544. On a different note, do third party drives (peripheral land in
  545. particular) come up and work with A/UX. Problems include the SCSI
  546. driver, formatting, etc.
  547.  
  548.  
  549.     Bruce Beare
  550.     Voysys Corporation
  551.     ..!pyramid!ctnews!voysys!bruce
  552.  
  553.  
  554. ------------------------------
  555.  
  556. From: jv0l+@andrew.cmu.edu (Justin Chris Vallon)
  557. Subject: Re: how to get file size (in bytes) ???
  558. Date: 5 Apr 88 08:23:00 GMT
  559. Organization: Carnegie Mellon University
  560.  
  561. (Glen, sorry I couldn't send directly, but UUCP & I don't interface :-)
  562.  
  563. There are two ways to get the size of a Mac file:
  564.  
  565. (1) Remember that a Macintosh file consists of two forks: your code
  566. (using "high-level" calls) should look like:
  567.     FSOpen(fileName, volRefNum, &refNum);
  568.     GetEOF(refNum, &dataForkSize);
  569.     FSClose(refNum);
  570.     OpenRF(fileName, volRefNum, &refNum);
  571.     GetEOF(refNum, &rsrcForkSize);
  572.     FSClose(refNum);
  573.     fileSize = dataForkSize + rsrcForkSize; This is easy, but it
  574. requires that you open the file twice :-(.
  575.  
  576. (2) Use "low-level" routines.  Now, you have to create a parameter
  577. block, but you can get the information using one ($1, %1, 01, 1.0,
  578. exp(0), 1e+0) calls:
  579.  
  580.     ParamBlkRec paramBlock
  581.  
  582.     paramBlock.ioNamePtr = fileName;
  583.     paramBlock.ioVRefNum = volRefNum;
  584.     paramBlock.ioFVersNum = 0; /* must be 0 under finder & HFS */
  585.     paramBlock.ioFDirIndex = 0; /* 0 means don't index, just get info */
  586.  
  587.     PBGetFInfo(¶mBlock, 0); /* returns an OsErr */
  588.  
  589.     fileSize = paramBlock.ioFlLgLen + paramBlock.ioFlRLgLen;
  590.  
  591. ----
  592.  
  593. Both routines will give you the same result, but the second one is a
  594. whole lot better (1 direct call vs 6 round-about calls)...
  595.  
  596. -Justin
  597.  
  598.  
  599. ------------------------------
  600.  
  601. From: mls@whutt.UUCP (SIEMON)
  602. Subject: Re: MIDI
  603. Date: 4 Apr 88 19:15:00 GMT
  604. Organization: AT&T Bell Laboratories
  605.  
  606. In article <237@cf-cm.UUCP>, ralph@computing-maths.cardiff.ac.uk (Ralph
  607. Martin) writes:
  608. > Does anyone out there know if Concertware+MIDI4.0 is macII compatible?
  609. Yes, it runs on a MacII.  It has lots of capabilities, given its price,
  610. but be warned that you run into limits real quick:
  611.  
  612. Note values range only from a dotted whole-note to a 32nd; you can do
  613. triplets for most (all? I haven't tried) of these values.  BUT no other
  614. n-tuple groups are possible; sigh, there goes Chopin!  There are no
  615. standard ornaments (trill, mordant, etc.) and emulating these by
  616. explicitly writing them usually doesn't work very well.  There goes the
  617. Baroque.
  618.  
  619. You have to enter in a framework of a fixed time-signature (you can't
  620. insert your own bars, except that you can do a double-bar whenever you
  621. want) and a fixed key-signature.  You can CHANGE these at any point, but
  622. only in the 1st voice (and the change then affects all voices).  There
  623. goes church music (e.g. chants Gregorian or otherwise), most early music
  624. and most 20th century stuff.
  625.  
  626. It tries to provide "standard" layout, and pretends to give you controls
  627. to override (for example direction of stems, beams, etc.)  But
  628. sometimes, I find it impossible to get it to do what I tell it -- it is
  629. very frustrating to hit the "stem up" menu item and watch it ignore me;
  630. this happens unpredictably. Text layout can also be frustrating.
  631.  
  632. Not wanting to be too negative -- as I said, it's good value for its
  633. price -- if you are serious about music, this is NOT the program to use.
  634.  I also want to hear about the higher-priced spreads.  I'm in the market
  635. and too lazy (and too new to the Mac at this point) to write my own.
  636. -- 
  637. Michael Siemon
  638. contracted to AT&T Bell Laboratories
  639. ihnp4!mhuxu!mls
  640. standard disclaimer
  641.  
  642. ------------------------------
  643.  
  644. End of Usenet Mac Digest
  645. ************************
  646. -------
  647.